
export default class MakeTemporaryTalk {
    socket = {}
    constructor(socket) {
        this.socket = socket;
    }
    sendMessage() {
        // return { code: 200, data: '成功' }
    }
    /*收到服务器回执信息的处理*/
    receiptMsg(msg) {
        this.socket.talkObject.addTalk(msg.body.data.talk);         //添加单个会话列表
        return msg.body;                
    }
    // 收到消息
    getMsg() {
        // return { code: 200, data: '成功' }
    }
}